package com.wlz.behavioral.chainofresponsibility;

import java.util.UUID;

public class Client {
    public static void main(String[] args) {
//        Handle person1 = new ConcreteHandler();
//        person1.setName("张三");
//        Handle person2 = new ConcreteHandler();
//        person2.setName("王五");
//        Handle person3 = new ConcreteHandler();
//        person3.setName("李二");
//        Handle person4 = new ConcreteHandler();
//        person4.setName("赵四");
//        Handle person5 = new ConcreteHandler();
//        person5.setName("王六");
//
//        person1.setHandle(person2);
//        person2.setHandle(person3);
//        person3.setHandle(person4);
//        person4.setHandle(person5);
////      person5.setHandle(person1);
//        String flower= UUID.randomUUID().toString();
//        person1.handleRequest(flower);

        StringBuilder stringBuilder = new StringBuilder();
        Client client = new Client();
        client.getOne(stringBuilder);
        System.out.println(stringBuilder);

    }

    public void getOne(StringBuilder stringBuilder) {
        stringBuilder.append("dfasdfasdfa");
    }
}